/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.vce.election.domain;

import com.vce.Persistent;

/**
 *
 * @author Ggutierrez
 */
public class Vote implements Persistent {

    private Long id;
    private Document document;
    private Party party;
    private Long amount;

    public Vote() {
    }
    
    public Vote(Document document, Party party, Long amount){
        this.document = document;
        this.party = party;
        this.amount = amount;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Document getDocument() {
        return document;
    }

    public void setDocument(Document document) {
        this.document = document;
    }

    public Party getParty() {
        return party;
    }

    public void setParty(Party party) {
        this.party = party;
    }

    public Long getAmount() {
        return amount;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }
}
